Skip to content

feat: add errors report email frequency#1142

Merged
Soare-Robert-Daniel merged 4 commits into
developmentfrom
feat/email-options
Aug 18, 2025
Merged

feat: add errors report email frequency#1142
Soare-Robert-Daniel merged 4 commits into
developmentfrom
feat/email-options

Conversation

@Soare-Robert-Daniel

@Soare-Robert-Daniel Soare-Robert-Daniel commented Aug 14, 2025

Copy link
Copy Markdown
Contributor

Summary

  • Add email error report frequency option
  • Small tweaks
  • Add a link in the email to redirect to the log tab.

Will affect visual aspect of the product

YES

Screenshots

CleanShot 2025-08-14 at 11 50 04@2x CleanShot 2025-08-14 at 11 55 16@2x

Test instructions

  • You will need to have a STMP installed (I recommend GMAIL + WP Mail SMTP by WPForms)
  • Install WP Cron to check the email frequency.
CleanShot 2025-08-14 at 11 45 39@2x

If the Action Scheduler is present, you will find the events here:

CleanShot 2025-08-14 at 11 56 34@2x

Check before Pull Request is ready:

Closes https://github.com/Codeinwp/feedzy-rss-feeds-pro/issues/848

@Soare-Robert-Daniel Soare-Robert-Daniel self-assigned this Aug 14, 2025
@Soare-Robert-Daniel Soare-Robert-Daniel added the pr-checklist-skip Allow this Pull Request to skip checklist. label Aug 14, 2025
@pirate-bot pirate-bot added the pr-checklist-complete The Pull Request checklist is complete. (automatic label) label Aug 14, 2025
@pirate-bot

pirate-bot commented Aug 14, 2025

Copy link
Copy Markdown
Contributor

Plugin build for e9f2935 is ready 🛎️!

Note

You can preview the changes in the Playground

@Soare-Robert-Daniel

Copy link
Copy Markdown
Contributor Author

@ineagu I added a description to the email toggle so that the user can know that it can change the frequency

CleanShot 2025-08-14 at 12 00 04@2x

Before

CleanShot 2025-08-14 at 12 01 25@2x

if (
false !== Feedzy_Rss_Feeds_Util_Scheduler::is_scheduled( 'task_feedzy_cleanup_logs' )
) {
public function maybe_reschedule_email_report( $old_value, $value, $option ) { // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not the biggest but if the variable is unused we can just remove it.

@HardeepAsrani HardeepAsrani left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@Soare-Robert-Daniel Soare-Robert-Daniel merged commit 17214f9 into development Aug 18, 2025
9 checks passed
@Soare-Robert-Daniel Soare-Robert-Daniel deleted the feat/email-options branch August 18, 2025 09:26
@pirate-bot

Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 5.1.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@pirate-bot pirate-bot added the released Indicate that an issue has been resolved and released in a particular version of the product. label Aug 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-checklist-complete The Pull Request checklist is complete. (automatic label) pr-checklist-skip Allow this Pull Request to skip checklist. released Indicate that an issue has been resolved and released in a particular version of the product.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants